﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001C5 RID: 453
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeLineupNotify : IMessage<ChallengeLineupNotify>, IMessage, IEquatable<ChallengeLineupNotify>, IDeepCloneable<ChallengeLineupNotify>, IBufferMessage
	{
		// Token: 0x17000600 RID: 1536
		// (get) Token: 0x0600148B RID: 5259 RVA: 0x0003AC85 File Offset: 0x00038E85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeLineupNotify> Parser
		{
			get
			{
				return ChallengeLineupNotify._parser;
			}
		}

		// Token: 0x17000601 RID: 1537
		// (get) Token: 0x0600148C RID: 5260 RVA: 0x0003AC8C File Offset: 0x00038E8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeLineupNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000602 RID: 1538
		// (get) Token: 0x0600148D RID: 5261 RVA: 0x0003AC9E File Offset: 0x00038E9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeLineupNotify.Descriptor;
			}
		}

		// Token: 0x0600148E RID: 5262 RVA: 0x0003ACA5 File Offset: 0x00038EA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupNotify()
		{
		}

		// Token: 0x0600148F RID: 5263 RVA: 0x0003ACAD File Offset: 0x00038EAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupNotify(ChallengeLineupNotify other) : this()
		{
			this.extraLineupType_ = other.extraLineupType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001490 RID: 5264 RVA: 0x0003ACD2 File Offset: 0x00038ED2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeLineupNotify Clone()
		{
			return new ChallengeLineupNotify(this);
		}

		// Token: 0x17000603 RID: 1539
		// (get) Token: 0x06001491 RID: 5265 RVA: 0x0003ACDA File Offset: 0x00038EDA
		// (set) Token: 0x06001492 RID: 5266 RVA: 0x0003ACE2 File Offset: 0x00038EE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupType ExtraLineupType
		{
			get
			{
				return this.extraLineupType_;
			}
			set
			{
				this.extraLineupType_ = value;
			}
		}

		// Token: 0x06001493 RID: 5267 RVA: 0x0003ACEB File Offset: 0x00038EEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeLineupNotify);
		}

		// Token: 0x06001494 RID: 5268 RVA: 0x0003ACF9 File Offset: 0x00038EF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeLineupNotify other)
		{
			return other != null && (other == this || (this.ExtraLineupType == other.ExtraLineupType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001495 RID: 5269 RVA: 0x0003AD28 File Offset: 0x00038F28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num ^= this.ExtraLineupType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001496 RID: 5270 RVA: 0x0003AD6D File Offset: 0x00038F6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001497 RID: 5271 RVA: 0x0003AD75 File Offset: 0x00038F75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001498 RID: 5272 RVA: 0x0003AD7E File Offset: 0x00038F7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.ExtraLineupType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001499 RID: 5273 RVA: 0x0003ADB0 File Offset: 0x00038FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ExtraLineupType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600149A RID: 5274 RVA: 0x0003ADEE File Offset: 0x00038FEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeLineupNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				this.ExtraLineupType = other.ExtraLineupType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600149B RID: 5275 RVA: 0x0003AE1F File Offset: 0x0003901F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600149C RID: 5276 RVA: 0x0003AE28 File Offset: 0x00039028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ExtraLineupType = (ExtraLineupType)input.ReadEnum();
				}
			}
		}

		// Token: 0x04000880 RID: 2176
		private static readonly MessageParser<ChallengeLineupNotify> _parser = new MessageParser<ChallengeLineupNotify>(() => new ChallengeLineupNotify());

		// Token: 0x04000881 RID: 2177
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000882 RID: 2178
		public const int ExtraLineupTypeFieldNumber = 8;

		// Token: 0x04000883 RID: 2179
		private ExtraLineupType extraLineupType_;
	}
}
